package com.cy.sys.controller;

import com.cy.commom.pojo.JsonResult;
import com.cy.sys.service.SysLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class SysLogController {
    @Autowired
    private SysLogService sysLogService;

    @RequestMapping("/doFindObjects")
    public JsonResult doFindObjects(String username, Integer pageCurrent, Integer pageSize){
       return new JsonResult(sysLogService.doFindObjects(username, pageCurrent, pageSize));
    }
}
